package com.hlbspringcloud.springsecuritytoken.mapper;

import com.hlbspringcloud.springsecuritytoken.entity.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @Author huanglibin
 * @Project spring-security-token
 * @Description 用户dao
 * @Date 2020-04-16-21-27-55
 * @Version 1.0
 */
public interface UserRepository extends CrudRepository<User,Integer> {
    User findByUsername(String username);
}
